package leetcode.other;

import leetcode.other.comon.OtherUtils;

class Solution7 {
    public int reverse(int x) {
        // todo 整数反转
        return OtherUtils.reverse(x);
    }
}

public class leetcode7 {
    public static void main(String[] args) {
        Solution7 solution7 = new Solution7();
        System.out.println(solution7.reverse(-123));
        System.out.println(solution7.reverse(123));
        System.out.println(solution7.reverse(1200));
        System.out.println(solution7.reverse(0));
        System.out.println(solution7.reverse(1534236469));
        System.out.println(solution7.reverse(-2147483648));
    }
}
